# Description: JSON C++ kütüphanesi
# URL: http://jsoncpp.sourceforge.net/
# Packager: milisarge
# Depends on:	scons

name=jsoncpp
version=1.7.4
release=1
source=(https://github.com/open-source-parsers/$name/archive/$version.zip)

build () {
	cd $name-$version
	scons platform=linux-gcc
	mkdir -p $PKG/usr/{include/jsoncpp,lib}
	cp -r include/json $PKG/usr/include/jsoncpp/
	cp libs/linux-gcc-*/libjson_linux-gcc-*_libmt.so $PKG/usr/lib/libjsoncpp.so
}
